package com.aaa.service.impl;

import com.aaa.dao.PersonDao;
import com.aaa.entity.Person;
import com.aaa.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2022/6/23 11:43
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class PersonServiceImpl  implements PersonService {
    @Autowired
    PersonDao personDao;
    @Override
    public List<Person> findAllPerson() {
        return personDao.findAllPerson();
    }
}
